package com.example.entity;

import java.math.BigDecimal;
import java.util.Date;

public class rental {
    private String name; // 饰品名称
    private BigDecimal price; // 当前价格
    private int volume; // 租量
    private Date date; // 记录日期

    // Getter 和 Setter 方法
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public BigDecimal getPrice() { return price; }
    public void setPrice(BigDecimal price) { this.price = price; }

    public int getVolume() { return volume; }
    public void setVolume(int volume) { this.volume = volume; }

    public Date getDate() { return date; }
    public void setDate(Date date) { this.date = date; }
}
